$theme1:lightcoral;
$theme2:lightblue;
$theme3:lightsalmon;
$theme4:lightseagreen;

@mixin theme_color($color) {
    /*通过该函数设置颜色，后期方便统一管理；*/
    background: $color;

    [data-theme='theme1'] & {
        background: $theme1;
    }
    [data-theme='theme2'] & {
        background: $theme2;
    }
    [data-theme='theme3'] & {
        background: $theme3;
    }
    [data-theme='theme4'] & {
        background: $theme4;
    }
}

@mixin all_center() {
    display: flex;
    justify-content: center;
    align-items: center;
}
